package com.car.loan.project.xr.util.bo.business.payment;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author huangding
 * @description
 * @date 2019/12/8 10:46
 */
@Data
public class SettleAccountsBo {

    @ApiModelProperty(value = "业务id", required = true)
    @NotNull
    private String loanId;

    @ApiModelProperty(value = "0=保存 1=提交", required = true)
    @NotNull
    @Min(0)
    @Max(1)
    private Long operatorStatus;

    /**
     * 结算扣罚金额
     */
    @ApiModelProperty(value = "结算扣罚金额")
    private Double salesmanFinedAmount;

    /**
     * 业务员返利日期
     */
    @ApiModelProperty(value = "结算日期 yyyy-MM-dd", required = true)
    @NotNull
    private String settleDate;

    @ApiModelProperty(value = "结算金额", required = true)
    @NotNull
    @Min(0)
    private Double settleAmount;

    @ApiModelProperty("结算备注")
    private String settleRemark;

    @ApiModelProperty("罚扣备注")
    private String remark;

}
